/** ###################################################################
**     Filename  : Events.H
**     Project   : serialtest
**     Processor : MC9S12XS128MAL
**     Beantype  : Events
**     Version   : Driver 01.04
**     Compiler  : CodeWarrior HCS12X C Compiler
**     Date/Time : 2011-5-23, 22:22
**     Abstract  :
**         This is user's event module.
**         Put your event handler code here.
**     Settings  :
**     Contents  :
**         No public methods
**
**     (c) Copyright UNIS, a.s. 1997-2008
**     UNIS, a.s.
**     Jundrovska 33
**     624 00 Brno
**     Czech Republic
**     http      : www.processorexpert.com
**     mail      : info@processorexpert.com
** ###################################################################*/

#ifndef __Events_H
#define __Events_H
/* MODULE Events */

#include "PE_Types.h"
#include "PE_Error.h"
#include "PE_Const.h"
#include "IO_Map.h"
#include "AS.h"
#include "ASR.h"
#include "Push.h"
#include "Spin.h"

#pragma CODE_SEG DEFAULT


void AS_OnRxChar(void);
/*
** ===================================================================
**     Event       :  AS_OnRxChar (module Events)
**
**     From bean   :  AS [AsynchroSerial]
**     Description :
**         This event is called after a correct character is
**         received.
**         The event is available only when the <Interrupt
**         service/event> property is enabled and either the
**         <Receiver> property is enabled or the <SCI output mode>
**         property (if supported) is set to Single-wire mode.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

void Timer_OnInterrupt(void);
/*
** ===================================================================
**     Event       :  Timer_OnInterrupt (module Events)
**
**     From bean   :  Timer [TimerInt]
**     Description :
**         When a timer interrupt occurs this event is called (only
**         when the bean is enabled - <Enable> and the events are
**         enabled - <EnableEvent>). This event is enabled only if a
**         <interrupt service/event> is enabled.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

void TimerLap_OnInterrupt(void);
/*
** ===================================================================
**     Event       :  TimerLap_OnInterrupt (module Events)
**
**     From bean   :  TimerLap [TimerInt]
**     Description :
**         When a timer interrupt occurs this event is called (only
**         when the bean is enabled - <Enable> and the events are
**         enabled - <EnableEvent>). This event is enabled only if a
**         <interrupt service/event> is enabled.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

void ADC_OnEnd(void);
/*
** ===================================================================
**     Event       :  ADC_OnEnd (module Events)
**
**     From bean   :  ADC [ADC]
**     Description :
**         This event is called after the measurement (which consists
**         of <1 or more conversions>) is/are finished.
**         The event is available only when the <Interrupt
**         service/event> property is enabled.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

void RCross_OnInterrupt(void);
/*
** ===================================================================
**     Event       :  RCross_OnInterrupt (module Events)
**
**     From bean   :  RCross [ExtInt]
**     Description :
**         This event is called when an active signal edge/level has
**         occurred.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/
void LCross_OnInterrupt(void);
/*
** ===================================================================
**     Event       :  LCross_OnInterrupt (module Events)
**
**     From bean   :  LCross [ExtInt]
**     Description :
**         This event is called when an active signal edge/level has
**         occurred.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/
void Spin_OnInterrupt(void);
/*
** ===================================================================
**     Event       :  Spin_OnInterrupt (module Events)
**
**     From bean   :  Spin [ExtInt]
**     Description :
**         This event is called when an active signal edge/level has
**         occurred.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/
void Push_OnInterrupt(void);
/*
** ===================================================================
**     Event       :  Push_OnInterrupt (module Events)
**
**     From bean   :  Push [ExtInt]
**     Description :
**         This event is called when an active signal edge/level has
**         occurred.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/
void Sync_OnInterrupt(void);
/*
** ===================================================================
**     Event       :  Sync_OnInterrupt (module Events)
**
**     From bean   :  Sync [ExtInt]
**     Description :
**         This event is called when an active signal edge/level has
**         occurred.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/
void Href_OnInterrupt(void);
/*
** ===================================================================
**     Event       :  Href_OnInterrupt (module Events)
**
**     From bean   :  Href [ExtInt]
**     Description :
**         This event is called when an active signal edge/level has
**         occurred.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/
void AS_OnFullRxBuf(void);
/*
** ===================================================================
**     Event       :  AS_OnFullRxBuf (module Events)
**
**     From bean   :  AS [AsynchroSerial]
**     Description :
**         This event is called when the input buffer is full.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

void AS_OnFreeTxBuf(void);
/*
** ===================================================================
**     Event       :  AS_OnFreeTxBuf (module Events)
**
**     From bean   :  AS [AsynchroSerial]
**     Description :
**         This event is called after the last character in output
**         buffer is transmitted.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

/* END Events */
#endif /* __Events_H*/

/*
** ###################################################################
**
**     This file was created by UNIS Processor Expert 3.00 [04.12]
**     for the Freescale HCS12X series of microcontrollers.
**
** ###################################################################
*/
